<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
</head>
<body>
<span th:text="${msg}"></span><br/>
<input th:value="${msg}">
<p th:if="${name}!='张三'">hello</p>
</body>
</html>